package com.py.korona.ui.activities.plan;

import android.app.ActionBar;
import android.os.Bundle;
import android.view.Menu;
import com.py.korona.R;
import com.py.korona.ui.controls.activities.CustomActivity;

public class PlanDetailActivity extends CustomActivity {
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_plan_detail);
        /** action bar init */
        ActionBar bar = getActionBar();
        bar.setDisplayHomeAsUpEnabled(true);
    }

    @Override
    public boolean isDetailStateAllowed(CustomActivityDetailState state) {
        // TODO Auto-generated method stub
        return true;
    }

    @Override
    public void onEnteringEditMode() {
        // TODO Auto-generated method stub
    }

    @Override
    public void onEnteringViewMode() {
        // TODO Auto-generated method stub
    }

    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.activity_plan_detail, menu);
        return true;
    }
}
